<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//创建对象
			
			var objct1 = new Object("abc123");
			console.log(objct1);
			console.log(objct1.constructor);
			
			var stu = {}
			stu.id = 1;
			stu.name = "张三"
			stu.age = 18;
			console.log(stu.id+","+stu.name);
			console.log(stu);
			console.log(stu.constructor);
			
			var stu2 = {}
			id:2,
			name:"李四",
			age:"19",
			
			
			
			
			
			
			
			
		</script>
	</body>
</html>
